import { defineConfig } from 'vitepress'

export default defineConfig({
  title: '小豪vue3组件库',
  description: '一个简洁的vue3组件库',
  themeConfig: {
    nav: [
      { text: '首页', link: '/' },
      { text: '组件', link: '/components/button/' }
    ],
    sidebar: [
      {
        text: '快速开始',
        items: [
          {
            text: '如何使用',
            link: '/guide/markdown-examples'
          },
          {
            text: '安装',
            link: '/guide/install'
          }
        ]
      },
      {
        text: '组件',
        items: [
          { text: 'Button 按钮', link: '/components/button/' },
          { text: "Message 消息提示", link: "/components/message/" },
          { text: "Icon 图标", link: "/components/icon/" },
          { text: "Tree 树形控件", link: "/components/tree/" },
          { text: "Steps步骤条", link: "/components/step/" },
          { text: "Pagintaion 分页", link: "/components/pagination/" }
        ]
      },
    ],
    socialLinks: [
      { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
    ]
  }
})
